<script setup lang="ts">
import { addEvent } from '@/composable/addEvent'
const { num, add } = addEvent()
</script>

<template>
  <div class="play-page">
    <h3>{{ num }}</h3>
    <button @click="add">点击++</button>
  </div>
</template>

<style lang="scss" scoped></style>
